function act() {
    cm.openScriptNpc()
}
var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    status++;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.curNodeEventEnd(true);
            cm.setInGameDirectionMode(true, false, true);
            cm.inGameDirectionEvent_AskAnswerTime(1000)
        } else {
            if (status === a++) {
                cm.inGameDirectionEvent_AskAnswerTime(1000);
                cm.effect_OnUserEff("Effect/OnUserEff.img/questEffect/PL_MONAD1/7")
            } else {
                if (status === a++) {
                    cm.sendNormalTalk_Bottom("#b(… 头盔…？) ", 57, 0, false, true)
                } else {
                    if (status === a++) {
                        cm.updateInfoQuest(64039, "chk1=1;chk2=1;chk3=1");
                        cm.inGameDirectionEvent_AskAnswerTime(1000)
                    } else {
                        if (status === a++) {
                            cm.sendNormalTalk_Bottom("#b(这好像是阿尔西和艾尔巴所说的那个钢铁盔甲的头盔… 原来他们的话都是事实…) ", 57, 0, false, true)
                        } else {
                            if (status === a++) {
                                cm.sendNormalTalk_Bottom("#b(如果这个头盔的主人就是幕后主使… 那为什么…？)", 57, 0, true, true)
                            } else {
                                if (status === a++) {
                                    cm.inGameDirectionEvent_AskAnswerTime(1000)
                                } else {
                                    if (status === a++) {
                                        cm.sendNormalTalk_Bottom("#face0#快点道歉！怎么，突然变哑巴啦？", 37, 9400590, false, true)
                                    } else {
                                        if (status === a++) {
                                            cm.sendNormalTalk_Bottom("#face0#咳呃！", 37, 9400597, true, true)
                                        } else {
                                            if (status === a++) {
                                                cm.sendNormalTalk_Bottom("#b我们先回去吧…", 57, 0, true, true)
                                            } else {
                                                if (status === a++) {
                                                    cm.sendNormalTalk_Bottom("#face0#这…这么快？不能再待一会儿吗？", 37, 9400597, true, true)
                                                } else {
                                                    if (status === a++) {
                                                        cm.sendNormalTalk_Bottom("#face0#看来还是有点良心啊？没脸去见可汗村长了吧？哈哈，哎哟笑死我了。", 37, 9400590, true, true)
                                                    } else {
                                                        if (status === a++) {
                                                            cm.playerMessage(-1, "把这头盔带给阿尔西。");
                                                            cm.forceCompleteQuest(64039);
                                                            cm.forceStartQuest(64122, "");
                                                            cm.updateInfoQuest(64272, "30=1;21=1;22=1;23=10;24=40;25=100;26=78;27=78;28=1;29=19;0=20;1=1;2=6;3=2");
                                                            cm.npc_LeaveField("oid=7537524");
                                                            cm.npc_LeaveField("oid=7537524");
                                                            cm.npc_LeaveField("oid=7537525");
                                                            cm.npc_LeaveField("oid=7537525");
                                                            cm.dispose();
                                                            cm.warp(867202681, 0)
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
};